-- GENERATED SPELL FOR [Shadow Vault Assaulter] --


function spell0_31266(pUnit, Event) --@Assaulter Slam,n/a--
pUnit:FullCastSpellOnTarget(58905,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_31266', 1320, 1)
end

function Sorts_31266(pUnit, Event)
local choix_sorts_31266 = math.random(0, 0)
if choix_sorts_31266 == 0 then
pUnit:RegisterEvent('spell0_31266', 1, 1)
end
end

function mob31266_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_31266', math.random(1500, 3000), 1)
end

function mob31266_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31266_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31266_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(31266, 1, 'mob31266_Action')
RegisterUnitEvent(31266, 2, 'mob31266_Leave')
RegisterUnitEvent(31266, 3, 'mob31266_Kill')
RegisterUnitEvent(31266, 4, 'mob31266_Die')
